import { h } from 'vue';
import { NAvatar } from 'naive-ui';
import { BasicColumn } from '@/components/Table';
import { divide } from 'lodash';
export interface ListData {
  name: string;
  avatar: string;
  address: string;
  beginTime: string;
  endTime: string;
  date: string;
}
export const columns: BasicColumn<ListData>[] = [
  {
    title: 'ID',
    key: 'id',
    width: 100,
  },
  {
    title: '车间名称',
    key: 'workshop',
    width: 160,
  },
  {
    title: '灭火器数量',
    key: 'extinguisher_workshop_count',
    width: 100,
  },

  {
    title: '添加时间',
    key: 'createtime',
    width: 100,
  }
];
